package com.ztorn.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ztorn.dtos.PickDetailRespDTO;
import com.ztorn.dtos.PickRespDTO;
import com.ztorn.model.MypktHdr;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OutMapper extends BaseMapper<MypktHdr> {

    List<PickRespDTO> getOrderByWhse(@Param("whse") String whse, @Param("statCode") int statCode);

    List<PickDetailRespDTO> getPickDetail(@Param("pktCtrlNbr") String pktCtrlNbr, @Param("whse") String whse);

    int updatePicked(@Param("sku") String sku,@Param("pktCtrlNbr") String pktCtrlNbr, @Param("whse") String whse);

    int updatePickMan(@Param("pickMan") String pickMan,@Param("pktCtrlNbr") String pktCtrlNbr, @Param("whse") String whse);
}
